#!/bin/bash

# Restart collectd because the ping plugin does not re-resolve "gateway"
if pgrep collectd &>/dev/null; then
	exec /etc/init.d/collectd restart &>/dev/null
fi

exit 0
